package scenic;

import java.awt.Rectangle;


class GlyphImage extends ImageInfo {
	public int x;
	public int y;
	public Rectangle cache;

	public String toString() {
		String s = new String();
		
		for(int y = 0; y < height; y++) {
			for(int x = 0; x < width; x++) {
				int i = data[y * width + x];
				if(i < 0)
					i += 256;
				if(i < 100)
					s += " ";
				if(i < 10)
					s += " ";
				s += i + " ";
			}
			s += "\n";
		}
		
		return s;
	}
}
